package com.tadpole.music.bean.me;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/22
 */
public class MyStudentBean {


    /**
     * code : 200
     * data : {"current_page":1,"total":1,"data":[{"id":9,"nickname":"Yietion","avatar":"http://image.aiyuechen.com/8de5409d-96f1-4563-aacf-7d7731a79aa8"}],"per_page":10,"last_page":1}
     * msg : ok
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        /**
         * current_page : 1
         * total : 1
         * data : [{"id":9,"nickname":"Yietion","avatar":"http://image.aiyuechen.com/8de5409d-96f1-4563-aacf-7d7731a79aa8"}]
         * per_page : 10
         * last_page : 1
         */

        private int current_page;
        private int total;
        private int per_page;
        private int last_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 9
             * nickname : Yietion
             * avatar : http://image.aiyuechen.com/8de5409d-96f1-4563-aacf-7d7731a79aa8
             */

            private int id;
            private String nickname;
            private String avatar;

            public DataBean(int id, String nickname, String avatar) {
                this.id = id;
                this.nickname = nickname;
                this.avatar = avatar;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }
    }
}
